package com.hc.vo;

import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * 博客标签
 *
 * @author 梁云亮
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class TagVO implements Serializable {
    private static final long serialVersionUID = 4987946506577698317L;

    /**
     * 名称
     */
    @TableField(value = "name")
    @ApiModelProperty(value = "标签名称")
    private String name;

    /**
     * 排序：初始值为1，每使用一次值增加1
     */
    @TableField(value = "blog_id")
    @ApiModelProperty(value = "博客编号")
    private Integer blogId;

}
